<template>
  <div class="advantage-item">
    <img :src="url" alt="">
    <div class="advantage-txt">
      <h4>{{title}}</h4>
      <h5>{{subTitle}}</h5>
    </div>
  </div>
</template>

<script>
  export default {
    name: "AdvantageItem",
    props: {
      url: String,
      title: String,
      subTitle: String
    }
  };
</script>

<style lang="less">
.advantage-item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;

  img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 20px;
  }
  .advantage-txt {
    text-align: left;
  }
}
</style>
